package com.dyh.dao;

import com.dyh.pojo.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CommentDao {

    int addComment(Comment comment);
    int deleteComment(int id);
    int updateComment(Comment comment);
    List<Comment> queryCommentList();
    Comment queryCommentById(int id);

}
